package com.zhuoyue.biz.core.api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhuoyue.biz.core.api.domain.JointControlRelationDO;
import com.zhuoyue.common.dto.BaseResultDTO;

/**
 * @author Administrator
 */
public interface JointControlRelationService extends IService<JointControlRelationDO> {


    /**
     * 查询联控设备关联设备列表
     *
     * @param gateWayId
     * @param startDeviceMac
     * @param startDeviceProductTypeStr
     * @param type
     * @return
     */
    BaseResultDTO getJointControlRelationListByStartDeviceId(String gateWayId, String startDeviceMac, String startDeviceProductTypeStr, String type);


    /**
     * 新增设备联控信息
     *
     * @param relation
     * @param odIndex
     * @return
     */
    JointControlRelationDO addJointControlRelation(JointControlRelationDO relation, String odIndex);

}
